//
//  RDBottomSettingView.h
//  readApp
//
//  Created by 飞猪 on 2018/8/16.
//  Copyright © 2018年 😝😝😝😝😝. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ASValueTrackingSlider.h"
@protocol RDBottomSettingViewDelegate;

typedef NS_ENUM(NSUInteger, BottomSettingClickType) {
  BottomSettingClickTypeA,
  BottomSettingClickTypeCatalogue,
  BottomSettingClickTypeDayOrNight,
  BottomSettingClickTypePreChapter,
  BottomSettingClickTypeNextChapter,
  BottomSettingClickTypeSetting,
};

@interface RDBottomSettingView : UIView

@property (nonatomic, weak  ) id<RDBottomSettingViewDelegate> delegate;

@property (weak, nonatomic) IBOutlet UIView *dayOrNightBtn;
@property (weak, nonatomic) IBOutlet UIImageView *centerImg;
@property (weak, nonatomic) IBOutlet UILabel *centerTitle;

@property (weak, nonatomic) IBOutlet ASValueTrackingSlider *slider;
@property (weak, nonatomic) IBOutlet UIView *bgView;

@end


@protocol RDBottomSettingViewDelegate <NSObject>

- (void)bottomSettingView:(RDBottomSettingView *)bottomSettingView clickedIndex:(BottomSettingClickType)clickType;

@end
